import 'dart:developer';
import 'dart:math' as math;

import 'package:flutterlib/common/config/config.dart';
import 'package:permission_handler/permission_handler.dart';
import 'package:thrio/thrio.dart';

export 'app_config_utils.dart';
export 'code_utils.dart';
export 'common_utils.dart';
export 'distance_utils.dart';
export 'navigator_utils.dart';
export 'sp_utils.dart';
export 'device_utils.dart';
export 'screens.dart';
export 'preferences_service.dart';
export 'package:flutter_screenutil/flutter_screenutil.dart';
export 'input_utils.dart';
export 'emoji_utils.dart';
export 'toast_utils.dart';
export 'hive_field_utils.dart';
export 'dart:convert';
export 'color_utils.dart';
export 'toast.dart';
export 'package:flustars/flustars.dart' hide ScreenUtil;
export 'package:common_utils/common_utils.dart';

const bool logNetworkError = false;
const bool logMessageSocketPacket = false;

/// Log only in debug mode.
/// 只在调试模式打印
void trueDebugPrint(dynamic message) {
  // if (Config.DEBUG) {
  //   log('$message');
  // }
  ThrioLogger.d(message);
}


